package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@TableName("check_records")
@Builder
public class CheckRecord {
    private Integer id;
    private Date deletedAt;
    private Integer elderId;
    @TableField(exist = false)
    private Elder elder;
    private Date startTime;
    private Integer nurseId;
    @TableField(exist = false)
    private NursingHome nursingHome;
    private Integer inStatusId;
    private Integer bedId;
    @TableField(exist = false)
    private String bedNumber;

    @Tolerate
    CheckRecord() {
    }
}
